package com.dk.mapper;

import com.dk.pojo.WmMaterialStock;
import com.dk.pojo.WmMaterialStockExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WmMaterialStockMapper {
    int countByExample(WmMaterialStockExample example);

    int deleteByExample(WmMaterialStockExample example);

    int deleteByPrimaryKey(Long materialStockId);

    int insert(WmMaterialStock record);

    int insertSelective(WmMaterialStock record);

    List<WmMaterialStock> selectByExample(WmMaterialStockExample example);

    WmMaterialStock selectByPrimaryKey(Long materialStockId);

    int updateByExampleSelective(@Param("record") WmMaterialStock record, @Param("example") WmMaterialStockExample example);

    int updateByExample(@Param("record") WmMaterialStock record, @Param("example") WmMaterialStockExample example);

    int updateByPrimaryKeySelective(WmMaterialStock record);

    int updateByPrimaryKey(WmMaterialStock record);

    List<WmMaterialStock> getStockInfo(@Param("itemCode") String itemCode,@Param("itemName") String itemName,@Param("warehouseName") String warehouseName,@Param("vendorName") String vendorName);
}